﻿<div class="lock-container animated fadeInDown" ng-controller="LogoutController">
    <div class="lock-box text-align-center">
        <div class="lock-username">{{UserName}}</div>
        <img src="assets/img/avatars/divyia.jpg" alt="divyia avatar" />
        <div class="lock-password">
            <form role="form" class="form-inline" ng-submit="doLogin(password)">
                <div class="form-group">
                    <span class="input-icon icon-right">
                        <input class="form-control" placeholder="Password" type="password" ng-model="password">
                        <button class="btn btn-sm glyphicon glyphicon-log-in themeprimary" type="submit"></button>
                    </span>
                </div>
            </form>
        </div>

    </div>
    <div class="signinbox">
        <span>Sign in as a different user?</span>
        <a ui-sref="login">Sign In Now</a>
    </div>
    <!--Success Modal Templates-->
    <script type="text/ng-template" id="WarningModal">
        <div class="modal-header">
            <i class="glyphicon glyphicon-check"></i>
        </div>
        <div class="modal-body">
            {{ messeger }}
        </div>
        <div class="modal-footer">
            <button type="button" class="btn btn-success" ng-click="ok()">OK</button>
            <button type="button" class="btn btn-default" ng-click="cancel()">Cancel</button>
        </div>
    </script>
    <!--End Success Modal Templates-->
</div>